﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PeiYue.Model.Models.Crm
{
    /// <summary>
    /// 客户门店
    /// </summary>
    [SqlSugar.SugarTable("oms_crm_customer_shop")]
    public class ShopDao:BaseDao
    {
        /// <summary>
        /// 机构id
        /// </summary>
        public long unit_id { get; set; }
        /// <summary>
        /// 客户id
        /// </summary>
        public long customer_id { get; set; }
        /// <summary>
        /// 门店编号
        /// </summary>
        public string codec { get; set; }
        /// <summary>
        /// 门店简称
        /// </summary>
        public string names { get; set; }
        /// <summary>
        /// 门店全称
        /// </summary>
        public string namec { get; set; }
        /// <summary>
        /// 省id
        /// </summary>
        public long prov_id { get; set; }
        /// <summary>
        /// 市id
        /// </summary>
        public long city_id { get; set; }
        /// <summary>
        /// 区id
        /// </summary>
        public long area_id { get; set; }
        /// <summary>
        /// 乡镇id
        /// </summary>
        public long town_id { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string street { get; set; }
        /// <summary>
        /// 邮编
        /// </summary>
        public string postcode { get; set; }
        /// <summary>
        /// 联系人姓名
        /// </summary>
        public string contact { get; set; }
        /// <summary>
        /// 联系人手机
        /// </summary>
        public string cellphone { get; set; }
        /// <summary>
        /// 固话
        /// </summary>
        public string telephone { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 是否连锁店
        /// </summary>
        public int chain_flag { get; set; }
        /// <summary>
        /// 合作状态
        /// </summary>
        public int business_status { get; set; }
        /// <summary>
        /// 商务级别
        /// </summary>
        public int business_level { get; set; }
        /// <summary>
        /// 店面面积，平方米
        /// </summary>
        public int area { get; set; }
        /// <summary>
        /// 店面餐位数
        /// </summary>
        public int seat { get; set; }
        /// <summary>
        /// 店长姓名
        /// </summary>
        public string shop_contact { get; set; }
        /// <summary>
        /// 店长手机
        /// </summary>
        public string shop_cellphone { get; set; }
        /// <summary>
        /// 厨师长姓名
        /// </summary>
        public string chef_contact { get; set; }
        /// <summary>
        /// 厨师长手机
        /// </summary>
        public string chef_cellphone { get; set; }
        /// <summary>
        /// 原有采购模式
        /// </summary>
        public string purchase_old { get; set; }
        /// <summary>
        /// 所属菜系
        /// </summary>
        public int cooking_style { get; set; }
        /// <summary>
        /// 最早送达时间
        /// </summary>
        public string early_arrive_time { get; set; }
        /// <summary>
        /// 最晚送达时间
        /// </summary>
        public string late_arrive_time { get; set; }
        /// <summary>
        /// 开发人员
        /// </summary>
        public long dev_user { get; set; }
        /// <summary>
        /// 维护人员
        /// </summary>
        public long mgr_user { get; set; }
        /// <summary>
        /// 是否总店
        /// </summary>
        public int is_main { get; set; }
        /// <summary>
        /// 资质审核状态
        /// </summary>
        public int audit_status { get; set; }
        /// <summary>
        /// 门店类型
        /// </summary>
        public int shop_type { get; set; }
        /// <summary>
        /// 优先级
        /// </summary>
        public string priority { get; set; }
    }
}
